package com.example.util;

import java.text.SimpleDateFormat;
import java.util.Date;

public class GetDate
{
    private String nowDate;
    public GetDate()
    {
        SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
        this.nowDate = sdf.format(new Date());
    }

    public String getNowDate()
    {
        return nowDate;
    }
}
